package cn.flying.cloud;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 后台管理服务启动类
 *
 * @author: admin
 * @date: 2023年06月10日 11:00
 * @version: 1.0
 */
@MapperScan(basePackages = {"cn.flying.**.mapper"})
@SpringBootApplication(scanBasePackages = "cn.flying.**")
public class ConsoleApplication {
    private static final Logger logger = LoggerFactory.getLogger(ConsoleApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(ConsoleApplication.class, args);
        logger.info("====================后台管理服务启动成功！=======================");
    }
}
